package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;
import org.jsola.hr.entity.SubsidyInfoDO;

import java.util.Date;
import java.util.List;

import static org.jsola.core.example.BaseExample.*;
import static org.jsola.hr.example.SubsidyProgExample.*;
import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.SubsidyProgExample.E_ATTENDANCE_RANGE;
import static org.jsola.hr.example.SubsidyProgExample.E_ATTENDANCE_RANGE_DAYS;
import static org.jsola.hr.example.SubsidyProgExample.E_COMPANY_ID;
import static org.jsola.hr.example.SubsidyProgExample.E_NAME;
import static org.jsola.hr.example.SubsidyProgExample.E_REMARK;
import static org.jsola.hr.example.SubsidyProgExample.E_TAX_METHOD;
import static org.jsola.hr.example.SubsidyProgExample.N_ATTENDANCE_RANGE;
import static org.jsola.hr.example.SubsidyProgExample.N_ATTENDANCE_RANGE_DAYS;
import static org.jsola.hr.example.SubsidyProgExample.N_COMPANY_ID;
import static org.jsola.hr.example.SubsidyProgExample.N_NAME;
import static org.jsola.hr.example.SubsidyProgExample.N_REMARK;
import static org.jsola.hr.example.SubsidyProgExample.N_TAX_METHOD;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工津贴方案】详情展示对象")
@Data
public class SubsidyProgVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ApiModelProperty(notes = N_REMARK, example = E_REMARK)
    private String remark;

    @ApiModelProperty(notes = N_TAX_METHOD, example = E_TAX_METHOD)
    private Integer taxMethod;

    @ApiModelProperty(notes = N_ATTENDANCE_RANGE, example = E_ATTENDANCE_RANGE)
    private Boolean attendanceRange;

    @ApiModelProperty(notes = N_ATTENDANCE_RANGE_DAYS, example = E_ATTENDANCE_RANGE_DAYS)
    private Integer attendanceRangeDays;

    @ApiModelProperty(notes = N_COMPANY_ID, example = E_COMPANY_ID)
    private String companyId;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;

    @ApiModelProperty(notes = N_SUBSIDY_INFO_DO_LIST, example = E_SUBSIDY_INFO_DO_LIST)
    private List<SubsidyInfoDO> subsidyInfoDOList;

}

